/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*	
*	Julio Montes e-mail: imc.coder@gmail.com 
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef IAFINDDIALOGBASE_H
#define IAFINDDIALOGBASE_H

#include <wx/wx.h>

///ID's 601-700
#define iaID_FDBASE_CBREGEXP 601
#define iaID_FDBASE_CBFIND 602

class iaFindDialogBase : public wxDialog
{
public:
    iaFindDialogBase( wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &position = wxDefaultPosition, const wxSize &size = wxDefaultSize );
    virtual ~iaFindDialogBase();

    void OnRegExp( wxCommandEvent &evt );
protected:
    wxComboBox *cbFind;
    wxStaticText *stFind;

    wxCheckBox *cbMatchCase;
    wxCheckBox *cbRegExp;
    wxCheckBox *cbPosixRegExp;
    wxCheckBox *cbAutoWrap;
    wxCheckBox *cbWholeWord;
    wxCheckBox *cbStartWord;

    wxRadioButton *rbFromCursor;
    wxRadioButton *rbStartFile;

    wxRadioButton *rbUp;
    wxRadioButton *rbDown;

    wxRadioButton *rbGlobal;
    wxRadioButton *rbSelectText;

    wxBoxSizer *bsMain;
    wxBoxSizer *bsInputText;
    wxStaticBoxSizer *sbsDirection;
private:

    DECLARE_EVENT_TABLE()
};

#endif // IAFINDDIALOGBASE_H
